<template>
  <div>
    <!-- 二级路由 -->
    <router-view></router-view>
    <!-- 底部栏 -->
    <van-tabbar route placeholder>
      <van-tabbar-item icon="wap-home-o" to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="description" to="/qa"> 问答</van-tabbar-item>
      <van-tabbar-item icon="tv-o" to="/movie">视频</van-tabbar-item>
      <van-tabbar-item icon="manager-o" to="/user">用户</van-tabbar-item>
    </van-tabbar>
  </div>
</template>


<script>
export default {
  name: "layout",
};
</script>


<style></style>
